export default {
  methods: {
    verifyToString: function (verify) {
      switch (verify) {
        case 0: return '正在认证'
        case 1: return '通过认证'
        case 2: return '拒绝认证'
        default: return '还未补全信息'
      }
    },
    typeToString: function (type) {
      switch (type) {
        case 0: return '学生'
        case 1: return '家长'
        case 2: return '教师'
        case 3: return '教育机构'
        case 4: return '活动发布者'
        default: return ''
      }
    },
    genderToString: function (gender) {
      switch (gender) {
        case 0: return '男'
        case 1: return '女'
        default: return '未填写'
      }
    },
    booleanToString: function (disable) {
      switch (disable) {
        case 0: return '否'
        case 1: return '是'
        default: return ''
      }
    },
    gradeTypeToString: function (gradeType) {
      switch (gradeType) {
        case 0: return '综合'
        case 1: return '小学'
        case 2: return '初中'
        case 3: return '高中'
        default: return ''
      }
    }
  }
}
